package com.docmgmt.mvp.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * 用户组VO（USER-006）
 *
 * @author Dora
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@Schema(description = "用户组信息")
public class UserGroupVO {

    @Schema(description = "用户组ID")
    private Long id;

    @Schema(description = "组名")
    private String name;

    @Schema(description = "组描述")
    private String description;

    @Schema(description = "创建人ID")
    private Long ownerId;

    @Schema(description = "创建人姓名")
    private String ownerName;

    @Schema(description = "成员数量")
    private Integer memberCount;

    @Schema(description = "我的角色：owner/admin/member")
    private String myRole;

    @Schema(description = "创建时间")
    private LocalDateTime createdAt;

    @Schema(description = "更新时间")
    private LocalDateTime updatedAt;
}
